/**
 * 清空文档
 */
(function(E, $){
var Consts = E.consts,
	html = Consts.IE ? '<p>&nbsp;</p>': '<p><br></p>';;

E.plugin("ClearDoc", {
	
	click: function( Panel, self){
		if( confirm('确定清空所有内容吗？') ){
			E.setHTML(html);
			E.focus();
			E.hidePanel();
		}
	}
});

})(jQEditor, jQuery);